<?php

namespace App\Models;

use App\Engine\BaseModel;

/**
 * Class ArticleCate
 *
 * @property int $id
 * @property int $nav_show
 * @property string|null $name
 * @property string|null $content
 * @property int $created_at
 * @property int $updated_at
 *
 * @package App\Models
 */

class ArticleCate extends BaseModel
{
    protected $table = 'article_cate';
    public $timestamps=false;
    protected $fillable = [
        'name',
        'sort'
    ];

    public $rule=[
        "name"=>"required",
        "sort"=>"required",
    ];

    public $ruleMessage=[
        "name.required"=>"请填写名称",
        "sort.required"=>"请选择排序",
    ];

}
